package com.teamin.entity;

import java.util.Date;

/**
 * 
 * 用户活跃记录
 * 
 * Created by e on 2017/11/28
 *
 */
public class ActiveUser {

    private Long activeId;         //bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键活跃id',
    private Long activeUserId;    //bigint(20) NOT NULL DEFAULT '-1' COMMENT '活跃用户id',
    private String ip;              //varchar(32) NOT NULL DEFAULT '' COMMENT '活跃用户ip',
    private String userAgent;      //varchar(256) NOT NULL DEFAULT '-1' COMMENT '用户代理',
    private String browser;          //varchar(64) NOT NULL DEFAULT '' COMMENT '用户使用的浏览器',
    private String os;          //varchar(64) NOT NULL DEFAULT '' COMMENT '用户使用的操作系统',
    private Integer isNew;         //smallint(1) NOT NULL DEFAULT '0' COMMENT '0新用户，1老用户',
    private String device;          //设备类型
    private Date createTime;       //datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',

    public Long getActiveId() {
        return activeId;
    }

    public void setActiveId(Long activeId) {
        this.activeId = activeId;
    }

    public Long getActiveUserId() {
        return activeUserId;
    }

    public void setActiveUserId(Long activeUserId) {
        this.activeUserId = activeUserId;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getUserAgent() {
        return userAgent;
    }

    public void setUserAgent(String userAgent) {
        this.userAgent = userAgent;
    }

    public String getBrowser() {
        return browser;
    }

    public void setBrowser(String browser) {
        this.browser = browser;
    }

    public String getOs() {
        return os;
    }

    public void setOs(String os) {
        this.os = os;
    }

    public Integer getIsNew() {
        return isNew;
    }

    public void setIsNew(Integer isNew) {
        this.isNew = isNew;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getDevice() {
        return device;
    }

    public void setDevice(String device) {
        this.device = device;
    }
}
